projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0e4c1
)
gtk-demo: Use <accelerator>
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 6 Mar 2016 04:36:54 +0000
(23:36 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 6 Mar 2016 04:44:03 +0000
(23:44 -0500)
Add an example of <accelerator> use in the builder example.
demos/gtk-demo/demo.ui
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/demo.ui
b/demos/gtk-demo/demo.ui
index f14eb2ebd1541adc61c28513bf5d636ad2d12db0..bbed31933d60f9ad73b3adc3a2a03b2799389b88 100644
(file)
--- a/
demos/gtk-demo/demo.ui
+++ b/
demos/gtk-demo/demo.ui
@@
-78,6
+78,7
@@
<property name="visible">1</property>
<property name="label" translatable="yes">Save _As</property>
<property name="use-underline">1</property>
+ <accelerator key="s" modifiers="primary | shift-mask" signal="activate"/>
</object>
</child>
<child>